<?php
namespace app\admin\controller;

use app\admin\model\Article;
use think\Controller;

class Index extends Controller
{
    public $article;
    public function _initialize()
    {
        $this->article = Article::all();
        $art = $this->article;
        $this->assign('art',$art);
    }
    public function index()
    {
        return view();
    }
}
